/* * This file forms part of CorVu dbCGI * * CorVu dbCGI is Copyright (C) 1995 CorVu Pty Ltd. * Written by Troy Rollo * * CorVu dbCGI is free software. It may be modified and redistributed under * the terms of the CorVu General Public License, either version 1, or, at * your option, any later version. Ensure that you read this license before * modifying or redistributing the software. * * THIS PROGRAM IS PROVIDED "AS IS" WITH NO WORRANTY OF ANY KIND. YOU USE * THIS PROGRAM ENTIRELY AT YOUR OWN RISK. NEITHER CORVU, NOR ANY OTHER * PARTY MAY BE HELD RESPONSIBLE FOR ANY DAMAGES ARISING FROM YOUR USE OR * MISUSE OF THIS PROGRAM. */struct ldadef{ short V2_Return_Code; char Dummy1[10]; short Return_Code; char Dummy2[19]; unsigned int OSD_Error_Code; unsigned char Check_Byte; char Oracle_System_Parameters[26+(2-sizeof(int))];};struct crsdef{ short crs_v2_rc; short crs_sql_fc; unsigned long crs_rpc; short crs_peo; unsigned char crs_oci_fc; unsigned char crs_fil; unsigned short Return_Code; unsigned char crs_wrn_flg1; unsigned char crs_wrn_flg2; unsigned int crs_cn; unsigned char crs_rowid[13]; unsigned int crs_ose; unsigned char crs_chk; unsigned char fill[26+2*(2-sizeof(int))];};#define ORA_CHARACTER 1#define ORA_NUMBER 2#define ORA_DOUBLE 4#define ORA_NTS 5#define ORA_LONG 8#define ORA_ROWID 11#define ORA_DATE 12#define ORA_RAW 23#define ORA_LONG_RAW 24#define ORA_LONG_VARRAW 95#define ORA_NEW_CHAR 96#define ORA_MLSLABEL 106#ifdef VMS#define osql3 ocisq3#define oexec ociexe#define olon ocilon#define oopen ociope#define odsc ocidsc#define oermsg(n,b) ocierr(&lda, n, b, 256)#define oerhms ocierr#define odefin ocidfn#define ocan ocican#define ofetch ocifet#define ologof ocilof#define oclose ociclo#endiftypedef int sword;typedef long int sb4;typedef unsigned long int ub4;typedef short sb2;typedef unsigned short ub2;